<template>
  <div>
    <h1>案例管理</h1>
    <Result_form v-bind:result-json-array="myTableData" v-bind:table-head-json-array="myTableHead"
                 v-bind:addition-btns="additionBtns"></Result_form>
  </div>
</template>

<script>
  import Result_form from "../components/myUtil/Result_form";
  export default {
    name: "example",
    components: {Result_form},
    data(){
      return{
        myTableData:[{exampleId:'Long',
          exampleName:'String',
          exampleCreate:'Date',
        },
          {exampleId:'Long',
            exampleName:'String',
            exampleCreate:'Date',}],

        myTableHead:[{colName:'exampleId',showName:'实例id'},
          {colName:'exampleName',showName:'案例名称'},
          {colName:'exampleCreate',showName:'案例创建时间'},
        ],
        additionBtns:[{myStyle:'btn btn-primary',name:'查看详情'}]
      }
    }
  }
</script>

<style scoped>

</style>
